package com.funmi.lizip.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.funmi.lizip.entity.Image;
import com.funmi.lizip.entity.PageParam;
import com.funmi.lizip.entity.vo.ImageVo;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface ImageMapper extends BaseMapper<Image> {


    List<Map<String,Object>> RingRatioYOverYNum(@Param("toYear") String toYear,@Param("toMonth") String toMonth,@Param("date") String date);


    List<LinkedHashMap<String,Long>> increaseByPercentagePoints(@Param("toYear") String toYear, @Param("toMonth") String toMonth, @Param("date") String date);



    IPage<ImageVo> searchPage(PageParam<ImageVo> pageParam, @Param("type") String type, @Param("imei") String imei);
}
